import React from "react"
import { useLocation, useParams, useSearchParams } from "react-router-dom"

const ProductInfo: React.FC = () => {
	// const { id } = useParams()
	// const location = useLocation()
	// const [searchParams] = useSearchParams()

	// console.log("id --> ", id)
	// console.log("name --> ", searchParams.get("name"))
	// console.log("age --> ", searchParams.get("age"))
	// console.log("location --> ", location)

	return (
		<>
			{/* <div>ProductInfo: {id};</div> */}
			<div>ProductInfo;</div>
		</>
	)
}

export default ProductInfo
